<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Tutorial: Hello Dojo!</title>
    <!--<link rel="stylesheet" href="css/main.css" media="screen">-->
    <link rel="stylesheet" href="js/lib/dijit/themes/claro/claro.css" media="screen">
    <style>
        #dialog {
            min-width: 200px;
        }
    </style>
</head>
<body class="claro">
<?php
/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 13-6-29
 * Time: 下午5:43
 * To change this template use File | Settings | File Templates.
 */
function __autoload($name)
{
    include_once("$name.php");
}
?>

<h1>Demo: Using _TemplatedMixin</h1>

<div data-dojo-type="demo/SomeWidget" data-dojo-props="title: 'My Some Widget'">
    <p>This is arbitray content!</p>
    <div data-dojo-type="dijit/form/Button">My Button</div>
    <p>More arbitrary content!</p>
</div>


<!-- load Dojo -->
<script src="js/config.js" type="text/javascript" charset="utf-8"></script>
<script src="js/lib/dojo/dojo.js"></script>
<script type="text/javascript">
    require(["main"], function (main) {
    });
</script>
</body>
</html>

